// 数据拼接
function addHtml(data) {
	var html = '';
	if (data.list.length <= 0) {
		$('.ui_loadmore_text').html('<span>没有更多了</span>');
	} else {
		for (var i = 0; i < data.list.length; i++) {
			var status = data.list[i].status;
			if (status == 'CANPAY') {
				status = '可返还未返';
			} else if (status == 'PAID') {
				status = '已返';
			} else if (status == 'UNACTIVE'){
				status = '未激活';
			} else if (status == 'ABANDON'){
				status = '已作废'
			}
			var gettime = null;
			var paytime = null;
			if (data.list[i].gettime == null) {
				gettime = '';
			} else {
				gettime = new Date(data.list[i].gettime)
						.format("yyyy-MM-dd hh:mm:ss");
			}
			if (data.list[i].paytime == null) {
				paytime = '未支付';
			} else {
				paytime = new Date(data.list[i].paytime)
						.format("yyyy-MM-dd hh:mm:ss");
			}
			html += '<div class="tab_con">';
			html += '<div class="con">';
			html += '<ul class="clearfix">';
			html += '<li style="text-algin:left;"><span style="color:#ff0000;">' + (data.list[i].money - 0) / 100
			html += '元</span><span class="t_l l">' + status + '</span></li>';
			html += '<li style="text-algin:left;"><span>获得时间</span><span class="last">' + gettime
					+ '</span></li>';
			html += '<li><span>实际支付时间</span><span class="r last">' + paytime
					+ '</span></li>';
			html += '</ul>';
			html += '</div>';
			html += '</div>';
		}
		$('.ui_loadmore_text').html('<a href="javascript:void(0);" class="more">点击加载更多</a>');
	}
	$('#list_more').append(html);
}
